home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_15.lha / 6_15 / 6_15h1.h < prev    next >
Text File  |  1993-08-08  |  304b  |  17 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. lass vec4
  6.  
  7.    float f[4];
  8.  
  9. ublic:
  10.    vec4()            // vec4 x; or new vec4;
  11.    {
  12.        f[0] = f[1] = f[2] = f[3] = 0;
  13.    }
  14.  
  15.    ~vec4() {}            // delete vec4;
  16.    // ...
  17.